package mya_dc.master_server.threads;

import mya_dc.shared_classes.Transmitter;

/**
 * abstract class that has a transmitter and a doCloseConnection
 * method that closes the transmitter when called
 *
 * @author      Adam Levi
 * <br>			MYA
 */
public abstract class MYA_ConnectionThread
{
	MYA_ConnectionThread(Transmitter transmitter)
	{
		m_Transmitter = transmitter;
	}
	void doCloseConnection()
	{
		if (m_Transmitter == null)
			return;
		m_Transmitter.close();
	}
	Transmitter m_Transmitter;
}
